<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>

<%request.setCharacterEncoding("utf-8"); %>

<%

/* String namejsp=request.getParameter("name");
int agejsp=Integer.valueOf(request.getParameter("age")).intValue();
String likejsp=request.getParameter("like"); */

%>

<jsp:useBean id="person" class="JSPBasicGrammar.javaBeanScience03.javaBeanApply.Person" scope="page"></jsp:useBean>


<jsp:setProperty property="name" name="person" param="names"/>
<jsp:setProperty property="age" name="person" param="ages"/>
<jsp:setProperty property="like" name="person" param="likes"/>

	<table>
			
			<tr>
			<jsp:getProperty property="name" name="person"/>
			</tr>
			<tr>
			<jsp:getProperty property="age" name="person"/>
			</tr>
			<tr>
			<jsp:getProperty property="like" name="person"/>
			</tr>
			

	</table>



</body>
</html>